//
//  AddressBook.m
//  通讯录作业
//
//  Created by dllo on 16/6/22.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "AddressBook.h"

@implementation AddressBook

-(instancetype)init{
    self = [super init];
    if (self) {
        self.dictionary = [NSMutableDictionary dictionary];
    }
    return self;
}




-(NSArray<NSString *> *)getNameGroup{
    return [self.dictionary.allKeys sortedArrayUsingSelector:@selector(compare:)];
}
@end
